<h1><%= t(:reports) %>: <%= t(:hour_bank_by_user) %></h1>

<table>
  <tr>
    <th><%= t(:user_name) %></th>
    <th><%= t(:amount_of_hours) %></th>
    <th><%= t(:at) %></th>
  </tr>
<% while row = @result.fetch_hash do %>

  <tr>
    <td><%= row["user"] %></td>
    <td><%= row["amount"] %></td>
    <td><%= row["at"] %></td>
  </tr>

<% end %>
</table>

<p class="back"><%= link_to t(:back), admin_reports_path %></p>
